package com.hehe.conversion.hehemiddleware.model.resp.esbxml;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "Service")
@Data
@XmlAccessorType(XmlAccessType.FIELD) // 告诉JAXB只使用字段进行XML绑定
public class EsbXmlResponse {

    @XmlElement(name = "Service_Header")
    private RespServiceHeader serviceHeader;

    @XmlElement(name = "Service_Body")
    private RespServiceBody serviceBody;

}
